Skip to content

ci: Build without testing in the min-compiler jobs - #1679

Merged
chfast merged 1 commit into
masterfrom
ci/tools-only-build
Aug 28, 2026
Merged

ci: Build without testing in the min-compiler jobs#1679
chfast merged 1 commit into
masterfrom
ci/tools-only-build

Conversation

@chfast

@chfast chfast commented Aug 28, 2026

Copy link
Copy Markdown
Member

EVMONE_TESTING defaults to OFF, and that is the only configuration where GTest is never
fetched — but every job funnels through a build command that passes -DEVMONE_TESTING=ON, so
the default has never been built in CI. Nothing would notice if the code built under
EVMONE_TOOLS grew a dependency on GTest, which matters now that evmone::testutils carries the
fixture runners and #1676 relies on them staying GTest-free.

gcc-min and clang-min now configure the default first, build it, run evmone run once to
check the tool works at all, and then reconfigure with testing on in the same directory. Measured
locally: the first pass compiles 54 objects, the second 111, and none of the 54 is recompiled
165 distinct in total, the same as a single testing-on build. So this costs an extra CMake
configure and a smoke test, not a second build.

@codspeed-hq

codspeed-hq Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

✅ 129 untouched benchmarks


Comparing ci/tools-only-build (ea72099) with master (37d490b)

Open in CodSpeed

@codecov

codecov Bot commented Aug 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.86%. Comparing base (37d490b) to head (ea72099).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1679   +/-   ##
=======================================
  Coverage   97.86%   97.86%           
=======================================
  Files         176      176           
  Lines       15995    15995           
  Branches     3666     3666           
=======================================
  Hits        15654    15654           
  Misses        255      255           
  Partials       86       86           
Flag Coverage Δ
eest-develop 87.66% <ø> (ø)
eest-develop-gmp 26.08% <ø> (ø)
eest-legacy 16.82% <ø> (ø)
eest-libsecp256k1 28.31% <ø> (ø)
eest-stable 87.66% <ø> (ø)
evmone-unittests 93.88% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
core 96.19% <ø> (ø)
tooling 92.89% <ø> (ø)
tests 99.81% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@chfast
chfast force-pushed the ci/tools-only-build branch from bbe0972 to f368bb7 Compare August 28, 2026 13:43
EVMONE_TESTING defaults to OFF and is the only configuration where GTest is
never fetched, but every job passed it ON, so nothing noticed if the code
built under EVMONE_TOOLS grew a dependency on GTest. That matters now that
evmone::testutils carries the fixture runners.

gcc-min and clang-min build the default configuration first, run the tool
once to check it works at all, then reconfigure with testing on. The second
pass reuses every object of the first, so this costs a configure, not a
build.
@chfast
chfast force-pushed the ci/tools-only-build branch from f368bb7 to ea72099 Compare August 28, 2026 16:37
@chfast
chfast merged commit aa9ca51 into master Aug 28, 2026
25 checks passed
@chfast
chfast deleted the ci/tools-only-build branch August 28, 2026 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant